<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core">

<ui:composition template="/layout/template.xhtml">
	<ui:define name="content">
		<h:form>
			<h:panelGrid>
				<h:commandLink action="home?faces-redirect=true" 
					actionListener="#{generateExceptionTestAction.generateExceptionByActionListener()}">
					<h:outputText value="Test Exception par actionListener" />
				</h:commandLink>
				<h:commandLink 
					action="#{generateExceptionTestAction.generateExceptionByAction()}">
					<h:outputText value="Test Exception par action" />
				</h:commandLink>
			</h:panelGrid>
		</h:form>
	</ui:define>
</ui:composition>
</html> 
